﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TT.Module.sysLogin;
using Exp.BillDLL.dao;
using System.Data;
using Bill.BasDLL.ety;

namespace Exp.BillDLL.biz
{
    public class bizArea
    {
        etyBaeSystemParamter basSysParam;
        daoArea doArea; 

        public bizArea(etyBaeSystemParamter ieyBasClassDeclare)
        {
            basSysParam = ieyBasClassDeclare;
            doArea = new daoArea(basSysParam);
        }

        public IList<etyArea> GetArea(etyArea inEty)
        {
            DataTable dt = doArea.GetArea(inEty);
            IList<etyArea> ilRusult = TT.Common.Converts.ConvertToIList<etyArea>(dt);
            return ilRusult;
        }

        public bool SaveArea(etyArea inEty)
        {
            return doArea.SaveArea(inEty);
        }

        public bool DeleteArea(etyArea inEty)  
        {
            return doArea.DeleteArea(inEty);          
        }

        
    }
}
